package com.rent.member.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员关注表
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ums_member_attention")
@ApiModel(value = "UmsMemberAttention对象", description = "会员关注表")
public class UmsMemberAttention implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("openid")
    private String openid;

    @TableField("member_id")
    private Integer memberId;

    @TableField("category_id")
    private Integer categoryId;

    @TableField("site_id")
    private Integer siteId;

    @ApiModelProperty("关注类型1.会员2.动态3.栏目")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("1.新关注 0.取消关注 2.继续关注")
    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("remark")
    private String remark;
}
